package circuits;

public class Operand extends Operation{

	public Operand(boolean booleanValue) {
		this.result = booleanValue;
	}
	
	public Operand(BooleanValue booleanValue){
		this.result = booleanValue.getBooleanValue();
	}
	
	public Operand(){}

	public void setResult(boolean operandResult){
		this.result = operandResult;
	}
	
	@Override
	protected void getOperandResult() {
		this.setResultAndNotifyListeners(this.result);
	}
}
